package com.java.oop.work.sj1.no2;

public abstract class Employee {

    private Long id;

    private String name;

    private Integer basePrice;

    public Employee() {
    }

    public Employee(Long id, String name, Integer basePrice) {
        this.id = id;
        this.name = name;
        this.basePrice = basePrice;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getBasePrice() {
        return basePrice;
    }

    public void setBasePrice(Integer basePrice) {
        this.basePrice = basePrice;
    }

    public abstract void calculateSalary();

}
